php get today at 3pm

39

$curtime = strtotime('today 8pm');
echo date('Y-m-d H:i:s', $curtime); // Returns 2014-12-17 20:00:00

Comments

Submit
0 Comments